﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using PocketApplicationsMVC.Managers;

namespace PocketApplicationsMVC.Views
{
    public class BlogController : IController
    {
        private IBlogView view;

        #region IController Members

        public IView View
        {
            get
            {
                return view;
            }
            set
            {
                view = (IBlogView)value;
                AttachView(view);
            }
        }

        #endregion

        public BlogController(IBlogView view)
        {
            this.view = view;
            this.AttachView(this.view);
        }

        private void AttachView(IBlogView iMenuView)
        {
            // hook up to views events
            //view.Exit+=new EventHandler(view_Exit);
        }
    }
}
